package com.ruoyi.mark.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.mark.api.domain.CfUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ruoyi-my")
public interface RemoteCfUserService {
    @GetMapping("user/list")
    public R<CfUser> list(CfUser cfUser);
    @GetMapping(value = "user/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id);
}
